home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Found / ODUtils / ISOStr.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-17  |  427 b   |  31 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ISOString.cpp
  3.  
  4.     Contains:    Routines for manipulating ISO Strings
  5.  
  6.     Owned by:    Vincent Lo
  7.  
  8.     Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     
  11.     In Progress:
  12.         
  13. */
  14.  
  15. #ifndef _ISOSTR_
  16. #include "ISOStr.h"
  17. #endif
  18.  
  19. #ifndef _ODMEMORY_
  20. #include "ODMemory.h"
  21. #endif
  22.  
  23. #include <string.h>
  24.  
  25.  
  26. ODISOStr ODISOStrFromCStr (const char* cstring)
  27. {
  28.     return strcpy( (char*)ODNewPtr(strlen(cstring)+1), cstring );
  29. }
  30.  
  31.